//日志
export const logger = store => next => action => {
    console.log('dispatching', action)
    let result = next(action)
    console.log('next state', store.getState());
    console.log('--------------------------------------')
    return result
}
